package main

import "fmt"

func yichang(a, b int) (re int, err error) {
	err = nil
	if b == 0 {
		fmt.Println(err)

	} else {
		re = a / b
	}
	return

}
func main() {
	re, v := yichang(10, 30)
	if v != nil {
		fmt.Println("出错l", v)

	} else {
		fmt.Println(re)
	}
	//fmt.Println(v)
}
